package com.typ.member.common.enums;

/**
 * @author heran
 * @version 1.0, 2019-05-07 18:25
 */

public enum OpTypeEnum {

    /**
     * 余额充值
     */
    BALANCE_RECHARGE(1, "余额充值"),
    /**
     * 余额消费
     */
    BALANCE_CONSUME(2, "余额消费"),
    /**
     * 积分消费
     */
    POINTS_CONSUME(3, "积分消费"),
    /**
     * 会员注册
     */
    MEMBER_REGISTER(4, "会员注册"),

    ;


    private Integer code;
    private String desc;

    OpTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }}
